package com.alex.core.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author: xc
 * @ClassName: baseQuery
 * @Date: 2019/10/16 14:02
 * @Description:  常用参数请求类
 */
@Data
@ApiModel
public class BaseQuery {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 租户id
     */
    private Integer tenantId;

    /**
     * 账号id
     */
    private Integer accountId;

    /**
     * 起始页，默认1
     */
    @ApiModelProperty(value = "起始页，默认1")
    private Integer pageNo=1;

    /**
     * 一页多少条，默认30
     */
    @ApiModelProperty(value = "一页多少条，默认30")
    private Integer pageSize = 30;

    private Date startTime;

    private Date endTime;
}
